<?hh

class Y {
  const BAR = X::BAZ;
}
class Z extends X {
  const FOO = 6;
  const WIZ = W::WIZ;
}
